<template>
	<view class="content">
		<view class="swiper-item-img"><image src="../../static/img/logo.png" mode="aspectFit"></image></view>
		<view>
			<button @click="toHome" type="default">电商交易平台</button>
		</view>
		<view>
			<button type="default">会员信息平台</button>
		</view>
		<view>
			<button type="default">审批系统</button>
		</view>
		
		<view>
			<button @click="toLogin" type="default">登录</button>
			<button @click="toMore" type="default">加载</button>
			<button @click="toParser" type="default">富文本</button>
			<button @click="toTransverse" type="default">横屏</button>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				background: ['color1', 'color2', 'color3'],
				autoplay: false,
				duration: 500,
				jumpover: '跳过',
				experience: '立即体验'
			}
		},
		methods: {
			toLogin(){
				uni.navigateTo({
					url: '../member/login/authPhone'
				})
			},
			toHome(){
				uni.switchTab({
					url: '../shop/home/home'
				})
			},
			toMore(){
				uni.navigateTo({
					url: '../demo/more'
				})
			},
			toParser(){
				uni.navigateTo({
					url: '../demo/parser'
				})
			},
			toTransverse(){
				uni.navigateTo({
					url: '../demo/transverse'
				})
			}
		}
	}
</script>
<style>
	page,
	.content{
		width: 100%;
		height: 800rpx;
		background-size: 100% auto ;
		padding: 0;
		display: flex;
		align-items: center;
		justify-content: space-around;
		flex-direction: column;
	}
	
</style>
